package com.wing.enterprisecab.feign;

import com.wing.common.utils.JsonResult;
import com.wing.enterprisecab.product.model.response.EnterpriseVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "enterpriseCab",url = "${enterpriseCab.gatewayUrl}",fallback = EnterpriseCabClientFallback.class)
public interface EnterpriseCabHttpClient {
    @GetMapping("/enterprisecab/cabinet/admin/enterprise/get")
    JsonResult<EnterpriseVO> get();
}
